<template>
    <div class="curmb">
        <template v-for="item,index in nav">
            <a href="#" :key="index">{{item.name}}</a>
            <template v-if="index<nav.length-1">/</template>
        </template>
    </div>
</template>

<script>
export default {
    props: ["nav"],
    data() {
        return {};
    },
};
</script>
 
<style lang = "less" scoped>
.curmb {
    margin: 10px 0;
    a {
        text-decoration: none;
        color: #000;
        margin: 0 5px;
    }
}
</style>